<template>
	<view class="bottom_button">
		<view class="bottom_button_box">
			<view class="bottom_button_text" @click="button">
				{{value}}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			value: String,
		},
		data() {
			return {

			}
		},
		methods: {
			button() {
				this.$emit('succeed')
			}
		}
	}
</script>

<style lang="less">
	.bottom_button {
		width: 750rpx;
		height: 140rpx;

		.bottom_button_box {
			position: fixed;
			bottom: 0;
			left: 0;
			width: 710rpx;
			padding: 20rpx;
			background-color: #fff;
			text-align: center;
			border: 2rpx solid rgba(238, 238, 238, 1);
			padding-bottom: calc(10rpx + constant(safe-area-inset-bottom));
			padding-bottom: calc(10rpx + env(safe-area-inset-bottom));
			z-index: 10;

			.bottom_button_text {
				height: 80rpx;
				line-height: 80rpx;
				border-radius: 40rpx;
				color: #fff;
				font-size: 30rpx;
				text-align: center;
				background: linear-gradient(0deg, #ff7f24 0%, #fd5901 100%), #693ee5;

			}
		}
	}
</style>